package com.atguigu.gulimall.seckill.service;

import com.atguigu.gulimall.seckill.to.SeckillSkuRedisTo;

import java.util.List;

public interface SeckillService {

    void uploadNewestSessions(Integer days);

    List<SeckillSkuRedisTo> getSeckillSkusByTs(long time, boolean needRandomCode);

    SeckillSkuRedisTo getSkuSeckillInfo(Long skuId);

    Object killSkuItem(String killId, Long num, String key);
}
